#Tell gtest it has pthreads support
add_definitions(-DGTEST_HAS_PTHREAD=1)

#Compile gtests as a static library
add_library(gtest STATIC gtest-all.cc)
